/*
 * @Author: 杨有财
 * @Date: 2025-02-26 10:01:49
 * @LastEditTime: 2025-03-04 17:38:18
 * @LastEditors: 杨有财
 * @Description: 系统管理相关的路由
 */

import Layout from '@/layouts/index.vue';

export default [
  {
    path: '/system',
    name: 'system',
    component: Layout,
    meta: { title: { zh_CN: '系统管理', en_US: 'system Manage' }, icon: 'setting' },
    children: [
      {
        path: 'account',
        name: 'account',
        component: () => import('@/layouts/blank.vue'),
        meta: { title: { zh_CN: '员工管理', en_US: 'User Center' }, icon: 'user-circle' },
        children: [
          {
            path: 'accountManage',
            name: 'accountManage',
            component: () => import('@/pages/system/account/page-account-manage.vue'),
            meta: { title: { zh_CN: '账号管理', en_US: 'Accoun Manage' } },
          },
        ],
      },
    ],
  },
  {
    path: '/:w+',
    name: '404Page',
    redirect: '/404',
  },
];
